package com.bfxy.disruptor.common;

/**
 * Defines producer types to support creation of RingBuffer with correct sequencer and publisher.
 */
public enum ProducerType
{
    /** Create a RingBuffer with a single event publisher to the RingBuffer
     单生产者模式 */
    SINGLE,

    /** Create a RingBuffer supporting multiple event publishers to the one RingBuffer 
     多生产者模式*/
    MULTI
}
